package cc.sjfx.sharedoc.dialog;

import cc.sjfx.sharedoc.R;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.RelativeLayout;
import android.widget.TextView;

public class MyDialogFrame extends RelativeLayout{
	private TextView titleText;
	
	public MyDialogFrame(Context context, AttributeSet attrs) {
		super(context, attrs);
		LayoutInflater.from(context).inflate(R.layout.mydialog_frame, this);
		
		titleText=(TextView)findViewById(R.id.titleText);
	}
		// TODO Auto-generated constructor stub
	public void setTitle(String title){
		titleText.setText(title);
	}
}
